package one.stand.mapper;

import one.stand.model.TicketAccount;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface TicketAccountMapperExt extends TicketAccountMapper {
    TicketAccount select(@Param("type") Integer type, @Param("userId") Integer userId);

    int update(@Param("id") Integer id, @Param("money") BigDecimal money, @Param("orderNum") Integer orderNum);

    void updateNum(@Param("id") Integer id, @Param("money") BigDecimal money);

    int updateUse(@Param("id") Integer id, @Param("checkUser") Integer checkUser);
}